﻿<%@ Page Language="C#" MasterPageFile="~/IPMSMasterPage.master" AutoEventWireup="true" 
CodeFile="OptProjectGroupUpdate.aspx.cs" Inherits="OptProjectGroupUpdate" Title="Project Monitoring System"
Culture="auto:en-US" UICulture="Auto" meta:resourcekey="PageResource1" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server" Visible="false">
<table>
    <tr>
        <td align="center" style="height: 20px">
            <asp:Label ID="lblError" runat="server" CssClass="error" ForeColor="Red" Width="100%"></asp:Label>
        </td>
    </tr>
</table>
<asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
    <fieldset>
        <legend>
            <asp:Label ID="lblEdit" runat="server" Text="Update Project Group" meta:resourcekey="lblEditResource1"></asp:Label>
        </legend>
        <table  style="text-align : left;">
            <tr>
                <td>
                    <asp:Label ID="lblProjectGroupID" runat="server" Text="Project Group ID" meta:resourcekey="lblProjectGroupIDResource1"></asp:Label>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtProjectGroupID" runat="server" CssClass="required" MaxLength="30" Width="258px" ReadOnly="True"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProjectGroupID" Display="Dynamic" ErrorMessage="Project Group ID is a required field." meta:resourcekey="RequiredFieldValidator1Resource1" ValidationGroup="PG"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblDescription" runat="server" Text="Title / Subject" meta:resourcekey="lblDescriptionResource1"></asp:Label>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtTitleSubject" runat="server" MaxLength="60" Width="377px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblType" runat="server" Text="Type" meta:resourcekey="lblTypeResource1"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlType" runat="server" Width="110px" CssClass="required"> </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlType" Display="Dynamic" ErrorMessage="Type is a required field." meta:resourcekey="RequiredFieldValidator5Resource1" ValidationGroup="PG"></asp:RequiredFieldValidator>
                </td>
                <td>
                    <asp:Label ID="lblProjectClass" runat="server" Text="Project Class" meta:resourcekey="lblProjectClassResource1"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlProjectClass" runat="server" Width="200px" CssClass="required"> </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="ddlProjectClass" Display="Dynamic" ErrorMessage="Project Class is required." meta:resourcekey="ProjectClassValidatorResource" ValidationGroup="PG" Enabled="False"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblApplicant" runat="server" Text="Applicant" meta:resourcekey="lblApplicantResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtApplicant" runat="server" MaxLength="30" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <asp:Label ID="lblInventor" runat="server" Text="Inventor/Designer" meta:resourcekey="lblInventorResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtInventor" runat="server" MaxLength="30" Width="150px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblClient" runat="server" Text="Client" meta:resourcekey="lblClientResource1"></asp:Label>
                </td>
                <td colspan="3">
                    <asp:DropDownList ID="ddlClient" runat="server" Width="200px"> </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblOfficerName" runat="server" Text="Officer Name" meta:resourcekey="lblOfficerNameResource1"></asp:Label>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtOfficerName" runat="server" CssClass="required" MaxLength="30" Width="258px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtOfficerName" Display="Dynamic" ErrorMessage="Officer Name is a required field." meta:resourcekey="RequiredFieldValidator2Resource1" ValidationGroup="PG"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTitle" runat="server" Text="Department /Project Team" meta:resourcekey="lblTitleResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" MaxLength="60" Width="258px" meta:resourcekey="txtTitleResource1"></asp:TextBox>
                </td>
                <td>
                    <asp:Label ID="lblOfficerRole" runat="server" Text="Officer Role" meta:resourcekey="lblOfficerRoleResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtOfficerRole" runat="server" MaxLength="30" Width="160px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblEmail" runat="server" Text="Officer Email" meta:resourcekey="lblEmailResource1"></asp:Label>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="txtOfficerEmail" runat="server" MaxLength="30" Width="258px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOfficerEmail"
                        Display="Dynamic" ErrorMessage="Invalid format!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        meta:resourcekey="RegularExpressionValidator1Resource1" ValidationGroup="PG"></asp:RegularExpressionValidator>
                </td>
            </tr>
        </table>
        <table style="width: 700px; text-align: center;">
            <tr>
                <td colspan="4" style="text-align: center; width: 706px; height: 23px;">
                    <asp:Button ID="btnSave" runat="server" CssClass="submit" meta:resourcekey="btnSaveResource1" OnClick="btnSave_Click" Text="Save" ValidationGroup="PG" />
                    <asp:Button ID="btnCancel" runat="server" CausesValidation="False" CssClass="reset" meta:resourcekey="btnCancelResource1" OnClick="btnCancel_Click" Text="Back" />
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Panel>

</asp:Content>

